
local img_skew_strip = lv.img_buf_load_file( "img_skew_strip.png" );

local style_indic = lv.create_style();

lv.style_set_bg_img_src( style_indic, img_skew_strip );

lv.style_set_bg_img_tiled( style_indic, true );

lv.style_set_bg_img_opa( style_indic, lv.LV_OPA_30 );

local bar = lv.bar_create( lv.scr_act() );

lv.obj_add_style( bar, style_indic, lv.LV_PART_INDICATOR );

lv.obj_set_size( bar, 260, 20 );

lv.obj_center( bar );

lv.bar_set_mode( bar, lv.LV_BAR_MODE_RANGE );

lv.bar_set_value( bar, 90, lv.LV_ANIM_OFF );

lv.bar_set_start_value( bar, 20, lv.LV_ANIM_OFF );
